package cn.iocoder.yudao.module.exam.controller.admin.uploadbatch.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 终端管理新增/修改 Request VO")
@Data
public class UploadBatchSaveReqVO {

    @Schema(description = "批次ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24045")
    private Long id;

    @Schema(description = "批次编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "批次编号不能为空")
    private String batchCode;

    @Schema(description = "考试ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18024")
    @NotNull(message = "考试ID不能为空")
    private Long examId;

    @Schema(description = "考试名称", example = "李四")
    private String examName;

    @Schema(description = "学科")
    private String subject;

    @Schema(description = "年级")
    private String grade;

    @Schema(description = "试卷总数", requiredMode = Schema.RequiredMode.REQUIRED, example = "18376")
    @NotNull(message = "试卷总数不能为空")
    private Integer totalCount;

    @Schema(description = "上传失败数", example = "12303")
    private Integer failedCount;

}